package com.xydtech.ecard.config.domain;

import com.xydtech.common.annotation.Excel;
import com.xydtech.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 新闻设置对象 ecard_news_config
 *
 * @author JHON
 * @date 2022-04-12
 */
public class EcardNewsConfig extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 法人机构 */
    @Excel(name = "法人机构")
    private Long deptId;

    /** 热点频道 */
    @Excel(name = "热点频道")
    private String channelId;

    /** 热点频道名称 */
    @Excel(name = "热点频道名称")
    private String channelName;

    /** 新闻BANNER */
    @Excel(name = "新闻BANNER")
    private String banner;

    /** 热点新闻最大条数 */
    @Excel(name = "热点新闻最大条数")
    private Integer maxHotNums;

    /** 其他频道显示条数 */
    @Excel(name = "其他频道显示条数")
    private Integer maxOtherNums;

    /** 首页自定义标题 */
    @Excel(name = "首页自定义标题")
    private String defineTitle;

    /** 新闻首页显示名片            1-启用            0-停用 */
    @Excel(name = "新闻首页显示名片            1-启用            0-停用")
    private String indexCardSts;

    /** 状态            0-停用            1-启用 */
    @Excel(name = "状态            0-停用            1-启用")
    private String sts;
    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setChannelId(String channelId) {
        this.channelId = channelId;
    }

    public String getChannelId() {
        return channelId;
    }

    public String getChannelName() {
        return channelName;
    }

    public void setChannelName(String channelName) {
        this.channelName = channelName;
    }

    public void setBanner(String banner) {
        this.banner = banner;
    }

    public String getBanner() {
        return banner;
    }

    public void setMaxHotNums(Integer maxHotNums) {
        this.maxHotNums = maxHotNums;
    }

    public Integer getMaxHotNums() {
        return maxHotNums;
    }

    public void setMaxOtherNums(Integer maxOtherNums) {
        this.maxOtherNums = maxOtherNums;
    }

    public Integer getMaxOtherNums() {
        return maxOtherNums;
    }

    public void setDefineTitle(String defineTitle) {
        this.defineTitle = defineTitle;
    }

    public String getDefineTitle() {
        return defineTitle;
    }

    public void setIndexCardSts(String indexCardSts) {
        this.indexCardSts = indexCardSts;
    }

    public String getIndexCardSts() {
        return indexCardSts;
    }

    public String getSts() {
        return sts;
    }

    public void setSts(String sts) {
        this.sts = sts;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("deptId", getDeptId())
                .append("channelId", getChannelId())
                .append("channelName", getChannelName())
                .append("banner", getBanner())
                .append("maxHotNums", getMaxHotNums())
                .append("maxOtherNums", getMaxOtherNums())
                .append("defineTitle", getDefineTitle())
                .append("indexCardSts", getIndexCardSts())
                .append("sts", getSts())
                .toString();
    }
}
